﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuiZe.education.ViewModel
{
    public class CountDownViewModel : ViewModelBase
    {
        public TimeModel timeModel { get; set; }    
        public CountDownViewModel()
        {
            if(timeModel == null)
              timeModel = new TimeModel();

            timeModel.Minutes1 = 0;
            timeModel.Minutes2 = 0;
            timeModel.Second1 = 0;
            timeModel.Second2 = 0;

        }
    }
    public class TimeModel
    {
        /// <summary>
        /// 时  十位
        /// </summary>
        public string hour1 { get; set; }

        /// <summary>
        /// 时 个位
        /// </summary>
        public string hour2 { get; set; }

        /// <summary>
        /// 分 十
        /// </summary>
        public int Minutes1 { get; set; } 
        /// <summary>
        /// 分 个
        /// </summary>
        public int Minutes2 { get; set; }
        /// <summary>
        /// 秒十
        /// </summary>
        public int Second1 { get; set;}
        /// <summary>
        /// 秒个
        /// </summary>
        public int Second2 { get; set;} 
     }
}
